package tpdisenio2009.mvp.display;

import java.awt.event.ItemListener;
import java.util.List;
import javax.swing.event.ChangeListener;
import tpdisenio2009.model.beans.FantasyTeam;
import tpdisenio2009.model.beans.FantasyTeamGlobalScore;
import tpdisenio2009.model.beans.TournamentDate;

/**
 *
 * @author Nicolás Kreiff
 */
public interface GlobalTournamentTableView extends View {

    void setDates( List<TournamentDate> dates );
    TournamentDate getDate();
    void addDateChangeListener( ItemListener listener );
    void removeDateChangeListener( ItemListener listener );

    void setFantasyTeamName( String fantasyTeamName );

    void setOwnPoints( int points );

    void setOwnPosition( int position );

    void setPage( int page );
    int getPage();
    void setMaxPage( int page );
    void addPageChangeListener( ChangeListener listener );
    void removePageChangeListener( ChangeListener listener );

    void loadFantasyTeams( List<FantasyTeam> users );
    void loadFantasyTeamScores(List<FantasyTeamGlobalScore> fantasyTeamScores);

    void showNotification( String notificationMessage, String notificationTitle );

}
